package com.itmg.search.business.service;

import javax.servlet.http.HttpServletRequest;

import com.itmg.search.form.SearchForm;
import com.itmg.search.web.ResultView;
import com.itmg.tools.page.PageBean;
/**
 * 搜索业务类接口
 *
 */
public interface SearchService {
	/**
	 * 返回搜索结果
	 * @param SearchForm 
	 * @param PageSelect 分页信息
	 * @return ResultView 
	 * @throws Exception
	 */
	public ResultView getResultView(SearchForm searchForm,PageBean page,HttpServletRequest request) throws Exception;
	
	/**
	 * @param SearchForm  action对应的bean
	 * @param request request请求
	 * @param response response相应
	 * @return 结束转向URL
	 */
	public String getStaticURL(SearchForm searchForm,HttpServletRequest request) throws Exception;
	
	
}
